{include file="header.html"}
<div id="rightTop">
    <ul class="subnav" style="margin-left:0px;">
        <li><span>{$lang.msglog}</span></li>
        <li><a class="btn1" href="index.php?app=msg&act=user">{$lang.user}</a></li>
        <li><a class="btn1" href="index.php?app=msg&act=add">{$lang.addmsg}</a></li>
        <li><a class="btn1" href="index.php?app=msg&act=send">{$lang.sendmsg}</a></li>
        <li><a class="btn1" href="index.php?app=msg&act=setting">{$lang.setting}</a></li>
    </ul>
</div>

<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input name="app" type="hidden" value="msg" />
                <input name="act" type="hidden" value="index" />
                {$lang.receive_mobile}:
                <input class="queryInput" type="text" name="to_mobile" value="{$query.to_mobile|escape}" />
                <!--发送时间:
    <input name="time" type="text" id="time" value="" size="10" maxlength="10" />-->
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
        </form>
    </div>
    <div class="fontr">
        {include file=page.top.html}
    </div>
</div>

<div class="tdare">
    <table width="100%" cellspacing="0">
        <tr class="tatr1">
            <td width="140">{$lang.receive_mobile}</td>
            <td>{$lang.content}</td>
            <td width="150">{$lang.time}</td>
            <td width="100">{$lang.username}</td>
            <td width="300">{$lang.status}</td>
        </tr>
        <!--{foreach from=$msglog_list item=msglog key=key}-->
        <tr class="tatr2">
            <td><b>{$msglog.to_mobile}</b></td>
            <td align="left">{$msglog.content}</td>
            <td>{$msglog.time|date:y-m-d H:i:s}</td>
            <td>{$msglog.user_name}</td>
            <td>{$msglog.state}</td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="5">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $msglog_list}-->
    <div id="dataFuncs">
        <div class="pageLinks">{include file=page.bottom.html}</div>
        <div class="clear"></div>
    </div>
    <!--{/if}-->
</div>
{include file="footer.html"}